projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc6f41c
)
placessidebar: do not crash if uris is NULL
author
Dominique Leuenberger
<dimstar@opensuse.org>
Thu, 29 Oct 2015 12:56:18 +0000
(13:56 +0100)
committer
Dominique Leuenberger
<dimstar@opensuse.org>
Thu, 29 Oct 2015 16:32:13 +0000
(17:32 +0100)
On Drag'n'Drop actions across system boundaries (VM host to guest), the
happen to be null.
https://bugzilla.gnome.org/show_bug.cgi?id=757298
gtk/gtkplacessidebar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkplacessidebar.c
b/gtk/gtkplacessidebar.c
index 42179c333332a7dca534cd204a4b4dba81078c29..8dc6d301f11fca84b1bdc2acd1fde6c1f6f1d63f 100644
(file)
--- a/
gtk/gtkplacessidebar.c
+++ b/
gtk/gtkplacessidebar.c
@@
-1708,7
+1708,7
@@
build_file_list_from_uris (const gchar **uris)
gint i;
result = NULL;
- for (i = 0; uris[i]; i++)
+ for (i = 0; uris
&& uris
[i]; i++)
{
GFile *file;